using System.Collections;
using System.Collections.Generic;
using QFramework;
using UnityEngine;

namespace Survivor
{
    public class SaveSystem : AbstractSystem
    {

        public void SetInt(string key, int value)
        {
            PlayerPrefs.SetInt(key,value);
        }

        public int GetInt(string key, int defaultValue = default)
        {
            return PlayerPrefs.GetInt(key,defaultValue);
        }  

        protected override void OnInit()
        {
        
        }
    }
}

